<%--
  Created by IntelliJ IDEA.
  User: 李林
  Date: 2020/4/1
  Time: 22:43
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
奖惩添加
<form id="weladd_form">
    奖惩描述<input name="welDesc" type="text" placeholder="输入名称">
    奖惩金额<input name="welAmount" type="text" placeholder="输入金额">
    备注<input name="comment" type="text" placeholder="输入备注">
    <input type="button" onclick="" value="添加">
</form>
<script>
    function addwelfare() {
        $.post("welfare/addwelfare.do",$("#weladd_form").serialize,function (data) {
            alert(data.message);
        })
    }
</script>